package com.tyqx.hashchaindao.mapper;

import java.util.Date;
import java.util.List;

import com.tyqx.hashchainbean.module.DonateProduct;
import org.apache.ibatis.annotations.Param;

public interface DonateProductMapper {


    public int insert(DonateProduct record);


    public int addProduct(DonateProduct donateProduct);

    public int addBatchProduct(DonateProduct donateProduct);

    public List<DonateProduct> getDonateProductById(String donateId);

    public List<DonateProduct> getDonateProductByTime(@Param("startTime") Date startTime,@Param("endTime")Date endTime,@Param("userName")String userName);
}